package ywxt.tool.stool.entity

import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.DBRef


data class PoemEntity(
    @Id
    val id:String?,
    var content:String,
    var title:String,
    @DBRef
    var poet:PoetEntity,
    var position:String?,
    var dynasty:String,
    var season:String?
)